﻿<%@ Page Title="" Language="C#" MasterPageFile="~/GUI/vistas/SiteAdministrador.Master" AutoEventWireup="true" CodeBehind="PantallaCategoriaCrear.aspx.cs" Inherits="BettingDT.GUI.vistas.PantallaCategoriaCrear" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            width: 239px;
        }
        .style2
        {
            width: 239px;
            height: 95px;
        }
        .style3
        {
            height: 95px;
        }
        .style4
        {
            width: 239px;
            height: 5px;
        }
        .style5
        {
            height: 5px;
        }
        .style6
        {
            height: 63px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContenidoAdministrador" runat="server">
<table width="823" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td class="LeftContent"><table width="201" height="36" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="201" height="31" class="LeftHeader Medium"><strong>opciones Categoria</strong></td>
      </tr>
      <tr>
        <td height="5"><img src="Style/Images/sperator.gif" width="201" height="5" alt="Seperator"/></td>
      </tr>
      <tr>
        <td class="LeftMiddle Small"><a href="PantallaCategoriaCrear.aspx" class="black">Agregar</a></td>
      </tr>
      <tr>
        <td class="LeftMiddle Small"><a href="PantallaCategoriaConsultar.aspx" class="black">Consultar </a></td>
      </tr>
      <tr>
        <td class="LeftMiddle Small"><a href="PantallaCategoriaModificar.aspx" class="black">Actualizar</a></td>
      </tr>
      <tr>
        <td class="LeftMiddle Small"><a href="PantallaCategoriaEliminar.aspx" class="black">Eliminar</a></td>
      </tr>
      <tr>
        <td class="LeftMiddle Small"><a href="PantallaResultado.aspx" class="black">Resultados</a></td>
      </tr>
      <tr>
        <td class="LeftMiddle Small"><a href="PantallaCalendario.aspx" class="black">Calendario</a></td>
      </tr>
   
      <tr>
        <td><img src="Styles/images/left_bottom.gif" width="201" height="6" alt="Bottom"/></td>
      </tr>
    </table>
      </td>
    <td class="RightContent"><table width="471" height="243" border="0">
    <tr>
    <td colspan="3" align="center"">
     <h1 style="color: #008000">
                    Crear Categoria</h1>
            <br />
            <asp:Label ID="MensajeGeneral" runat="server" ForeColor="Maroon"></asp:Label>
            </td>
  </tr>
  <tr>
    <td  align="right" class="style2" 
          style="color: #006600; font-family: 'Courier New', Courier, monospace">
                Nombre:
    </td>
    <td colspan="2" class="style3">
        <asp:TextBox 
            ID="_nombreCategoria" runat="server" 
            ValidationGroup="grupoCrearCategoria" Width="348px">
        </asp:TextBox>
        <br/>
        <asp:RequiredFieldValidator 
             ID="ReqNomCategoria" runat="server" 
             ErrorMessage="  Por Favor introduzca un nombre" 
             ControlToValidate="_nombreCategoria" 
             ValidationGroup="grupoCrearCategoria" ForeColor="#CC0000">
        </asp:RequiredFieldValidator>
        <span class="obligado" style="color: #FF0000">* 
        </span>
    </td>
  </tr>
  <tr>
    <td class="style1">Descripcion:</td>
  <td colspan="2">
      <asp:TextBox 
           ID="_descripcion"  TextMode="MultiLine" runat="server"
           ValidationGroup="grupoCrearCategoria"  Height="95px" Width="355px">
      </asp:TextBox>
      <br/>
      <asp:RequiredFieldValidator 
           ID="ReqDescripcion" runat="server" 
           ErrorMessage="Coloque alguna Descripcion" 
           ControlToValidate="_descripcion" 
           ValidationGroup="grupoCrearCategoria" ForeColor="#CC0000">
      </asp:RequiredFieldValidator>

      </td>
  </tr>
  <tr>
    <td class="style1">permite empate</td>
    <td colspan="2">
        <asp:RadioButtonList ID="_radioBtnPermiteEmpate" runat="server" AutoPostBack="false"
              ValidationGroup="grupoCrearCategoria">
            <asp:ListItem Selected="True">si</asp:ListItem>
            <asp:ListItem>no</asp:ListItem>
        </asp:RadioButtonList>
    </td>
  </tr>
  <tr>
    <td class="style1">mas de 2 jugadores</td>
    <td colspan="2">
        <asp:RadioButtonList ID="_radioBtnMasDe2jugadores" runat="server"
             ValidationGroup="grupoCrearCategoria">
            <asp:ListItem>si</asp:ListItem>
            <asp:ListItem Selected="True">no</asp:ListItem>
        </asp:RadioButtonList>
    </td>
  </tr>
  <tr>
    <td class="style4">Imagen </td>
    <td colspan="2" class="style5">
        <asp:FileUpload ID="_fileUploadImagenRuta" runat="server" Width="324px" />
    </td>
  </tr>
  <tr>
   <br/>
    <td colspan="3" align="center" class="style6">
        <asp:Button 
             ID="crearCategoria" runat="server" 
             Text="Crear Categoria" Width="129px"  
             ValidationGroup="grupoCrearCategoria"  
             OnClick="crearCategoria_Click" style="height: 26px"/>
    </td>
    </tr>
</table>
      

  </tr>
</table>
</asp:Content>
